<extend name="Base/common"/>
<!--<script type="text/javascript" src="/SG_Shopwechat/Public/Home/js/iscroll.js"></script>-->
<block name="TITLE"><title>采购列表</title></block>
<block name="body" >
    <header data-am-widget="header" class="am-header am-header-default am-header-fixed">
        <div class="am-header-left am-header-nav">
            <a href="{:U('Purchase/index')}" class="">
                <i class="am-header-icon am-icon-home" style="font-size: 40px;"></i>
            </a>
        </div>
        <h1 class="am-header-title">
            <a href="#title-link" class="">
                &nbsp;{$title}
            </a>
        </h1>
    </header>
    <body>
    <div class="">
    </div>
    <empty name="list">
        暂时没有商品
        <else/>
        <table  class="am-table am-table-striped" style="width:100%;">
            <thead style="">
            <tr>
                <th>商品名</th>
            </tr>
            </thead>
            <volist name="list" id="pro">
                <tr>
                    <td>{$pro.pid|get_pname}({$pro.co})</td>
                </tr>
            </volist>
        </table>
    </empty>


    <section class="am-panel am-panel-primary  am-radius"  style="display: block;width: 50%;">
        <header class="am-panel-hd">
            <h3 class="am-panel-title">操作</h3>
        </header>
        <div class="am-panel-bd">
        </div>
    </section>

    </body>
</block>
<block name="script">
    <script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>
    <script type="text/javascript">
        $('.confirm').click(function(){
            if(confirm("请确认操作")){
            }else{
                return false;
            }
        })
    </script>
</block>
